

/**
 * Created with IntelliJ IDEA.
 * Description:BOKD
 * User: 34321
 * Date: 2024-11-03
 * Time: 8:18
 */

public class Student {
    public String name;
    public String gender;
    public int age;
    public int score;
    public static String classroom = "JK241";

    public Student(String name, String gender, int age, int score) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.score = score;
    }

    public void DoClass(){
        System.out.println(name+" 努力学习");
    }

    public void DoHomework(){
        System.out.println(name+" 勤奋好学");
    }

    public void Exam(){
        System.out.println(name+" 全力以赴");
    }

    public void show() {
        System.out.println("name："+name+" gender："
                +gender+" age："+age+" score："+ score);
        System.out.println();
    }

    public static String getclassroom(){
        return classroom;
    }


//    public static void main(String[] args) {
//        Student s1 = new Student("xiaoxin","boy",19,59);
//        Student s2 = new Student("HYZS","girl",18,99);
//        Student s3 = new Student("Tsing","girl",18,100);
//
//        System.out.println(Student.classroom);
//
//        System.out.println(s1.classroom);
//        System.out.println(s2.classroom);
//        System.out.println(s3.classroom);
//
//    }

}



